package com.zspringboot.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;

/**
 * <p>
 * 角色菜单关系表
 * </p>
 *
 * @author laolang
 * @since 2024-03-01
 */
@TableName("sys_role_menu")
@ApiModel(value = "RoleMenu对象", description = "角色菜单关系表")
public class RoleMenu implements Serializable {

    private static final long serialVersionUID = 1L;

      private Integer roleId;

      private Integer menuId;

    
    public Integer getRoleId() {
        return roleId;
    }

      public void setRoleId(Integer roleId) {
          this.roleId = roleId;
      }
    
    public Integer getMenuId() {
        return menuId;
    }

      public void setMenuId(Integer menuId) {
          this.menuId = menuId;
      }

    @Override
    public String toString() {
        return "RoleMenu{" +
              "roleId=" + roleId +
                  ", menuId=" + menuId +
              "}";
    }
}
